package java67_1;

public class Operator {

	public static void main(String[] args) {
		// ++,--
		int a = 10, b = 14;
		a++;// a=a+1
		System.out.println("a=" + a);
		b--;
		System.out.println("b=" + b);

		int c = b / a;
		System.out.println("商是:" + c);

		int d = b % a;
		System.out.println("余数是:" + d);
		// double能求余数?
		double d1 = 23.9, d2 = 7.5;
		double d3 = d1 % d2;
		System.out.println("余数是:" + d3);
	}

}
